import request from '@/utils/request.js'

// 添加收藏-课程
export function addComboCollection(data) {
  return request({
    url: '/api/v1.shop/addComboCollection',
    method: 'POST',
    data
  })
}

// 获取课程详情页
export function getComboInfo(data) {
  return request({
    url: '/api/v1.shop/getComboInfo',
    method: 'POST',
    data
  })
}

// 获取课程大纲
export function getComboChapt(data) {
  return request({
    url: '/api/v1.shop/getComboChapt',
    method: 'POST',
    data
  })
}

// 相关课程推荐
export function getListByLike(data) {
  return request({
    url: '/api/v1.combo/getListByLike',
    method: 'POST',
    data
  })
}
